package com.wlc.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.wlc.dto.StudentsAndProductDto;
import com.wlc.entity.StudentScore;

public interface UserService extends IService<StudentScore> {
    StudentScore getUserByName(String name);

    IPage<StudentScore> queryUserPage(int currentPage, int pageSize);

    StudentsAndProductDto getStudentAndProduct(String studentName, Integer productId);

    int saveStudentScore(StudentScore studentScore);
}